package com.dj.shop.service.impl;

import com.dj.shop.mapper.RegionCodeMapper;
import com.dj.shop.model.RegionCode;
import com.dj.shop.service.RegionCodeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author renshp
 * @Title: RegionCodeServiceImpl
 * @Description: TODO
 * @date 2019/2/28
 */
@Service
public class RegionCodeServiceImpl implements RegionCodeService {

    @Autowired
    RegionCodeMapper regionCodeMapper;

    @Override
    public List<RegionCode> queryChildren(String regionCode) {
        return regionCodeMapper.queryChildren(regionCode);
    }
}
